<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: CTimeBase类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="class_c_time_base-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">CTimeBase类 参考<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>时间基类  
 <a href="class_c_time_base.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_time_8h_source.html">Time.h</a>&gt;</code></p>
<div class="dynheader">
类 CTimeBase 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_c_time_base.png" usemap="#CTimeBase_map" alt=""/>
  <map id="CTimeBase_map" name="CTimeBase_map">
<area href="class_c_machine_time.html" title="机器时间类" alt="CMachineTime" shape="rect" coords="0,56,96,80"/>
<area href="class_c_sys_time.html" title="系统时间类 系统时间以整型的方式传入" alt="CSysTime" shape="rect" coords="106,56,202,80"/>
<area href="class_c_unit_time.html" title="时间单位类 以毫秒为单位的一个时间度量" alt="CUnitTime" shape="rect" coords="212,56,308,80"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a045344374dbd744e3bc839b31d552b73"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_base.html#a045344374dbd744e3bc839b31d552b73">TimeType</a> { <a class="el" href="class_c_time_base.html#a045344374dbd744e3bc839b31d552b73a9e6af1eb7377cc41cd74c7abd6807bd6">real_time</a>, 
<a class="el" href="class_c_time_base.html#a045344374dbd744e3bc839b31d552b73ab4ca480006077aa183b9d7602b295a46">machine_time</a>, 
<a class="el" href="class_c_time_base.html#a045344374dbd744e3bc839b31d552b73ae171ad68ea7b9ce8c876387c36b73ee8">unit_time</a>
 }</td></tr>
<tr class="separator:a045344374dbd744e3bc839b31d552b73"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ae8e718574ad7db89751f71b4a05dfcda"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_base.html#ae8e718574ad7db89751f71b4a05dfcda">~CTimeBase</a> ()</td></tr>
<tr class="separator:ae8e718574ad7db89751f71b4a05dfcda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7212bf7d0361a0136644701c1a562ce1"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_c_time_base.html#a045344374dbd744e3bc839b31d552b73">TimeType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_base.html#a7212bf7d0361a0136644701c1a562ce1">GetType</a> () const =0</td></tr>
<tr class="memdesc:a7212bf7d0361a0136644701c1a562ce1"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回时间类型  <a href="class_c_time_base.html#a7212bf7d0361a0136644701c1a562ce1">更多...</a><br /></td></tr>
<tr class="separator:a7212bf7d0361a0136644701c1a562ce1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6667eccaa267178c72d64406484e5aff"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="_time_8h.html#ace04e42edcaa8586d6e07a7a86fbc522">TIME_T</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_base.html#a6667eccaa267178c72d64406484e5aff">GetTime</a> () const =0</td></tr>
<tr class="memdesc:a6667eccaa267178c72d64406484e5aff"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回整型时间  <a href="class_c_time_base.html#a6667eccaa267178c72d64406484e5aff">更多...</a><br /></td></tr>
<tr class="separator:a6667eccaa267178c72d64406484e5aff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5421e3f57c65d50745c25ed381f86c58"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_base.html#a5421e3f57c65d50745c25ed381f86c58">SetTime</a> (<a class="el" href="_time_8h.html#ace04e42edcaa8586d6e07a7a86fbc522">TIME_T</a> u64=0)=0</td></tr>
<tr class="memdesc:a5421e3f57c65d50745c25ed381f86c58"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置时间  <a href="class_c_time_base.html#a5421e3f57c65d50745c25ed381f86c58">更多...</a><br /></td></tr>
<tr class="separator:a5421e3f57c65d50745c25ed381f86c58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">比较两个时间的大小</div></td></tr>
<tr class="memitem:af5461858b09ce81fab206fa7d5dd784c"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_base.html#af5461858b09ce81fab206fa7d5dd784c">operator&lt;</a> (const <a class="el" href="class_c_time_base.html">CTimeBase</a> &amp;Time) const</td></tr>
<tr class="separator:af5461858b09ce81fab206fa7d5dd784c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a623d4766d1a4a0d81562ce4605d3d833"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_base.html#a623d4766d1a4a0d81562ce4605d3d833">operator&gt;</a> (const <a class="el" href="class_c_time_base.html">CTimeBase</a> &amp;Time) const</td></tr>
<tr class="separator:a623d4766d1a4a0d81562ce4605d3d833"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2724950dd992ecc215539bba539f4bd4"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_base.html#a2724950dd992ecc215539bba539f4bd4">operator&lt;=</a> (const <a class="el" href="class_c_time_base.html">CTimeBase</a> &amp;Time) const</td></tr>
<tr class="separator:a2724950dd992ecc215539bba539f4bd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a194f20d2c1b9d0bb2fb56c0b85e3abd1"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_base.html#a194f20d2c1b9d0bb2fb56c0b85e3abd1">operator&gt;=</a> (const <a class="el" href="class_c_time_base.html">CTimeBase</a> &amp;Time) const</td></tr>
<tr class="separator:a194f20d2c1b9d0bb2fb56c0b85e3abd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a609cdaf67a088202e5c82cf0d263355c"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_base.html#a609cdaf67a088202e5c82cf0d263355c">operator==</a> (const <a class="el" href="class_c_time_base.html">CTimeBase</a> &amp;Time) const</td></tr>
<tr class="separator:a609cdaf67a088202e5c82cf0d263355c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">对两个时间做算术运算</div></td></tr>
<tr class="memitem:afa7f97bd1c0864b141231c20c579479c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="_time_8h.html#ace04e42edcaa8586d6e07a7a86fbc522">TIME_T</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_base.html#afa7f97bd1c0864b141231c20c579479c">operator-</a> (const <a class="el" href="class_c_time_base.html">CTimeBase</a> &amp;Time) const</td></tr>
<tr class="separator:afa7f97bd1c0864b141231c20c579479c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b695aa93d571fe7f0cdfa19b5465e0b"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="_time_8h.html#ace04e42edcaa8586d6e07a7a86fbc522">TIME_T</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_base.html#a3b695aa93d571fe7f0cdfa19b5465e0b">operator+</a> (const <a class="el" href="class_c_time_base.html">CTimeBase</a> &amp;Time) const</td></tr>
<tr class="separator:a3b695aa93d571fe7f0cdfa19b5465e0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>时间基类 </p>

<p class="definition">在文件 <a class="el" href="_time_8h_source.html">Time.h</a> 第 <a class="el" href="_time_8h_source.html#l00078">78</a> 行定义.</p>
</div><h2 class="groupheader">成员枚举类型说明</h2>
<a id="a045344374dbd744e3bc839b31d552b73"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a045344374dbd744e3bc839b31d552b73">&#9670;&nbsp;</a></span>TimeType</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_c_time_base.html#a045344374dbd744e3bc839b31d552b73">CTimeBase::TimeType</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="a045344374dbd744e3bc839b31d552b73a9e6af1eb7377cc41cd74c7abd6807bd6"></a>real_time&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a045344374dbd744e3bc839b31d552b73ab4ca480006077aa183b9d7602b295a46"></a>machine_time&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a045344374dbd744e3bc839b31d552b73ae171ad68ea7b9ce8c876387c36b73ee8"></a>unit_time&#160;</td><td class="fielddoc"></td></tr>
</table>

<p class="definition">在文件 <a class="el" href="_time_8h_source.html">Time.h</a> 第 <a class="el" href="_time_8h_source.html#l00081">81</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">构造及析构函数说明</h2>
<a id="ae8e718574ad7db89751f71b4a05dfcda"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae8e718574ad7db89751f71b4a05dfcda">&#9670;&nbsp;</a></span>~CTimeBase()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual CTimeBase::~CTimeBase </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_time_8h_source.html">Time.h</a> 第 <a class="el" href="_time_8h_source.html#l00089">89</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a6667eccaa267178c72d64406484e5aff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6667eccaa267178c72d64406484e5aff">&#9670;&nbsp;</a></span>GetTime()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="_time_8h.html#ace04e42edcaa8586d6e07a7a86fbc522">TIME_T</a> CTimeBase::GetTime </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>返回整型时间 </p>

<p>在 <a class="el" href="class_c_unit_time.html#a89f17f5dc6a88e9ce04e1e185b4e3a3d">CUnitTime</a>, <a class="el" href="class_c_machine_time.html#a0959e18a8f5d2e7812f986f2e88fc682">CMachineTime</a> , 以及 <a class="el" href="class_c_sys_time.html#a7f7125b905195fa3e9ddc3b3191e89d8">CSysTime</a> 内被实现.</p>

</div>
</div>
<a id="a7212bf7d0361a0136644701c1a562ce1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7212bf7d0361a0136644701c1a562ce1">&#9670;&nbsp;</a></span>GetType()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="class_c_time_base.html#a045344374dbd744e3bc839b31d552b73">TimeType</a> CTimeBase::GetType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>返回时间类型 </p>

<p>在 <a class="el" href="class_c_unit_time.html#ac7eddfe77e1fc3a249445baa7b751103">CUnitTime</a>, <a class="el" href="class_c_machine_time.html#af528e32326cd14725c2370076a80587b">CMachineTime</a> , 以及 <a class="el" href="class_c_sys_time.html#ab57d3e0c25b163651804b214857ffe2e">CSysTime</a> 内被实现.</p>

</div>
</div>
<a id="a3b695aa93d571fe7f0cdfa19b5465e0b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b695aa93d571fe7f0cdfa19b5465e0b">&#9670;&nbsp;</a></span>operator+()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_time_8h.html#ace04e42edcaa8586d6e07a7a86fbc522">TIME_T</a> CTimeBase::operator+ </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_c_time_base.html">CTimeBase</a> &amp;&#160;</td>
          <td class="paramname"><em>Time</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_time_8cpp_source.html">Time.cpp</a> 第 <a class="el" href="_time_8cpp_source.html#l00191">191</a> 行定义.</p>

</div>
</div>
<a id="afa7f97bd1c0864b141231c20c579479c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa7f97bd1c0864b141231c20c579479c">&#9670;&nbsp;</a></span>operator-()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_time_8h.html#ace04e42edcaa8586d6e07a7a86fbc522">TIME_T</a> CTimeBase::operator- </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_c_time_base.html">CTimeBase</a> &amp;&#160;</td>
          <td class="paramname"><em>Time</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_time_8cpp_source.html">Time.cpp</a> 第 <a class="el" href="_time_8cpp_source.html#l00186">186</a> 行定义.</p>

</div>
</div>
<a id="af5461858b09ce81fab206fa7d5dd784c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af5461858b09ce81fab206fa7d5dd784c">&#9670;&nbsp;</a></span>operator&lt;()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CTimeBase::operator&lt; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_c_time_base.html">CTimeBase</a> &amp;&#160;</td>
          <td class="paramname"><em>Time</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_time_8cpp_source.html">Time.cpp</a> 第 <a class="el" href="_time_8cpp_source.html#l00163">163</a> 行定义.</p>

</div>
</div>
<a id="a2724950dd992ecc215539bba539f4bd4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2724950dd992ecc215539bba539f4bd4">&#9670;&nbsp;</a></span>operator&lt;=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CTimeBase::operator&lt;= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_c_time_base.html">CTimeBase</a> &amp;&#160;</td>
          <td class="paramname"><em>Time</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_time_8cpp_source.html">Time.cpp</a> 第 <a class="el" href="_time_8cpp_source.html#l00167">167</a> 行定义.</p>

</div>
</div>
<a id="a609cdaf67a088202e5c82cf0d263355c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a609cdaf67a088202e5c82cf0d263355c">&#9670;&nbsp;</a></span>operator==()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CTimeBase::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_c_time_base.html">CTimeBase</a> &amp;&#160;</td>
          <td class="paramname"><em>Time</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_time_8cpp_source.html">Time.cpp</a> 第 <a class="el" href="_time_8cpp_source.html#l00181">181</a> 行定义.</p>

</div>
</div>
<a id="a623d4766d1a4a0d81562ce4605d3d833"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a623d4766d1a4a0d81562ce4605d3d833">&#9670;&nbsp;</a></span>operator&gt;()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CTimeBase::operator&gt; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_c_time_base.html">CTimeBase</a> &amp;&#160;</td>
          <td class="paramname"><em>Time</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_time_8cpp_source.html">Time.cpp</a> 第 <a class="el" href="_time_8cpp_source.html#l00172">172</a> 行定义.</p>

</div>
</div>
<a id="a194f20d2c1b9d0bb2fb56c0b85e3abd1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a194f20d2c1b9d0bb2fb56c0b85e3abd1">&#9670;&nbsp;</a></span>operator&gt;=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CTimeBase::operator&gt;= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_c_time_base.html">CTimeBase</a> &amp;&#160;</td>
          <td class="paramname"><em>Time</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_time_8cpp_source.html">Time.cpp</a> 第 <a class="el" href="_time_8cpp_source.html#l00176">176</a> 行定义.</p>

</div>
</div>
<a id="a5421e3f57c65d50745c25ed381f86c58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5421e3f57c65d50745c25ed381f86c58">&#9670;&nbsp;</a></span>SetTime()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CTimeBase::SetTime </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_time_8h.html#ace04e42edcaa8586d6e07a7a86fbc522">TIME_T</a>&#160;</td>
          <td class="paramname"><em>u64</em> = <code>0</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置时间 </p>

<p>在 <a class="el" href="class_c_machine_time.html#a5a9fb922168cf7ebdee0e0ace9ba5896">CMachineTime</a>, <a class="el" href="class_c_sys_time.html#a85aaf8c11ed2bd1e536684ce7109e731">CSysTime</a> , 以及 <a class="el" href="class_c_unit_time.html#a3d1dda71f5b6b794f9c820c5bbdb6460">CUnitTime</a> 内被实现.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>H:/project/LibTools/src/time/<a class="el" href="_time_8h_source.html">Time.h</a></li>
<li>H:/project/LibTools/src/time/<a class="el" href="_time_8cpp_source.html">Time.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
